package com.nd.qa.shareplate.IDao;

import java.util.List;
import com.nd.qa.shareplate.model.User;

public interface UserMapper {

	/**
	 * 注册
	 * @return
	 * @throws Exception
	 */
	public void registerUser(User user) throws Exception;
	/**
	 * 查询所有的注册用户信息
	 * @param project
	 * @return
	 */
	public List<User> queryTotalUserInfo(User user);
	/**
	 * 查询用户信息
	 * @param userName
	 * @return
	 * @throws Exception
	 */
	public User queryByUserName(String userName) throws Exception;
	/**
	 * 查询用户信息
	 * @param userName
	 * @return
	 * @throws Exception
	 */
	public User queryByUserById(String userId) throws Exception;
	/**
	 * 修改用户信息
	 * @param user
	 * @return
	 * @throws Exception
	 */
	public void updateUser(User user) throws Exception;
}
